package com.ruoyi.beforehand.mapper;

import java.util.List;
import com.ruoyi.beforehand.domain.InfoBeforehandEvaluateDetail;

/**
 * 事前评估详情Mapper接口
 *
 * @author ruoyi
 * @date 2022-02-24
 */
public interface InfoBeforehandEvaluateDetailMapper
{
    /**
     * 查询事前评估详情
     *
     * @param id 事前评估详情主键
     * @return 事前评估详情
     */
    public InfoBeforehandEvaluateDetail selectInfoBeforehandEvaluateDetailById(Long id);

    /**
     * 查询事前评估详情列表
     *
     * @param infoBeforehandEvaluateDetail 事前评估详情
     * @return 事前评估详情集合
     */
    public List<InfoBeforehandEvaluateDetail> selectInfoBeforehandEvaluateDetailList(InfoBeforehandEvaluateDetail infoBeforehandEvaluateDetail);

    /**
     * 新增事前评估详情
     *
     * @param infoBeforehandEvaluateDetail 事前评估详情
     * @return 结果
     */
    public int insertInfoBeforehandEvaluateDetail(InfoBeforehandEvaluateDetail infoBeforehandEvaluateDetail);

    /**
     * 修改事前评估详情
     *
     * @param infoBeforehandEvaluateDetail 事前评估详情
     * @return 结果
     */
    public int updateInfoBeforehandEvaluateDetail(InfoBeforehandEvaluateDetail infoBeforehandEvaluateDetail);

    /**
     * 删除事前评估详情
     *
     * @param id 事前评估详情主键
     * @return 结果
     */
    public int deleteInfoBeforehandEvaluateDetailById(Long id);

    /**
     * 批量删除事前评估详情
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteInfoBeforehandEvaluateDetailByIds(Long[] ids);

    List<InfoBeforehandEvaluateDetail> selectInfoBeforehandEvaluateDetailsById(Long beforehandId);

   List<InfoBeforehandEvaluateDetail>  selectInfoBeforehandEvaluateDetailByIds(Long id);
}
